package cn.cvs.dao;

import cn.cvs.pojo.Rent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RentMapper {
    //查询
    public List<Rent> gitrendList(@Param("pageIndex")Integer pageIndex,@Param("pageSize")Integer pageSize);
    //删除
    public int delRent (@Param("id") Integer id);
    //增加
    public int addRent(Rent rent);
    //修改
    public int modify(Rent rent);

    public Rent gitid (@Param("id") int id);

}
